xen/arm: traps: Don't panic when receiving an unknown debug trap
authorJulien Grall <jgrall@amazon.com>
Thu, 5 Nov 2020 22:31:06 +0000 (22:31 +0000)
committerRaspbian forward porter <root@raspbian.org>
Tue, 21 Sep 2021 18:53:21 +0000 (19:53 +0100)
commitbdb61b0f68d5a3ad21d0d77fad1e117b6cb99c9b
treef0a9c55fbd46b6f01c2a37ff67b7db803a1e33c3
parentedbca9fbfeafb588f35df52735725247928449fd
xen/arm: traps: Don't panic when receiving an unknown debug trap

Even if debug trap are only meant for debugging purpose, it is quite
harsh to crash Xen if one of the trap sent by the guest is not handled.

So switch from a panic() to a printk().

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit 957708c2d1ae25d7375abd5e5e70c3043d64f1f1)

Gbp-Pq: Name 0035-xen-arm-traps-Don-t-panic-when-receiving-an-unknown-.patch
xen/arch/arm/traps.c